// 创建空DIV
function getEmptyDiv(cssClass, id) {
    return $("<div/>", {
        'class': cssClass,
        'id': id
    })
}

// 判断是否为空
function isNotEmpty(str){
	if(null != str && undefined != str && '' != str){
		return true;
	}
	return false;
}
function isNull(pvalue){
   var RegularExp=/^\s*$/;
   if(RegularExp.test(pvalue))
   {
     return true;
   } 
   return false;
}

function includeScript(jurl){
	document.write('<script language="JavaScript" src="' + jurl + '"></script>\n' );
}

function includeCss(curl){
	document.write('<link rel="stylesheet" type="text/css" href="' + curl + '">\n');
}

function includeDeferScript( jurl ){
	document.write('<script language="JavaScript" src="' + jurl + '" defer="defer"></script>\n' );
}

function includeCss( curl ){
	document.write('<link rel="stylesheet" type="text/css" href="' + curl + '">\n');
}

function writeContent( str ){
	document.write('<script type="text/javascript">\n');
	document.write('' + str + '\n');
	document.write('</script>\n');
}

includeScript(ctx + 'common/util/page.js');
includeScript(ctx + 'common/util/tools.js');
includeScript(ctx + 'common/single/jquery.form.js');
includeScript(ctx + 'common/single/ArrayUtil.js');